<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p1_CSS的三种位置</title>
    <style>
        h4{
            color:pink;
        }
        p{
            color:blue;
        }
        div{
            color:green;
        }
        h2{
            color:pink;
        }
    </style>
    <link rel="stylesheet" href="01.css">


</head>
<body>
    <h4 style="color: red;background-color: yellow">我是标题</h4>
    <h4>我是标题</h4>
    <h4>我是标题</h4>

    <p>我是段落</p>
    <p>我是段落</p>
    <p>我是段落</p>

    <div>我是块级元素</div>
    <div>我是块级元素</div>
    <div>我是块级元素</div>

    <h2 style="color: red;">优先级测试</h2>
</body>
</html>